FROM alpine:3.9.2
COPY npc /opt/npc/npc
COPY npc.conf /opt/npc/npc.conf
RUN chmod +x /opt/npc/npc
WORKDIR /opt/npc
CMD ["/opt/npc/npc"]
# docker run -it --rm -e NPC_SERVER_ADDR=139.198.123.226:8024 -e NPC_WEB_HOST=farm -e NPC_WEB_TARGET=192.168.99.100:80 rumia/npc:v0.23.1